<template>
  <div class="app-container bg-gray">
    <el-card class="box-1">
      <el-tabs v-model="activeName" @tab-click="handleClick">
        <el-tab-pane label="基本设置" name="first">
          <base-panel/>
        </el-tab-pane>
      </el-tabs>
    </el-card>
  </div>
</template>

<script>
  import basePanel from './base.vue';
  export default {
    components: {basePanel},
    data() {
      return {
        activeName: 'first'
      }
    },
    methods: {
      handleClick(tab, event) {
        console.log(tab, event);
      }
    }
  }
</script>

<style lang="scss" type="text/scss" scoped>
  .box-1{
    max-width: 980px;
    min-height: 400px;
  }
</style>
